﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AliCharacter_recognition.Utils.BaiduTool.BaiduOcrJson
{
    internal class BusinessLicenseJson
    {
        public class Location
        {
            /// <summary>
            ///
            /// </summary>
            public int width { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int top { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int height { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int left { get; set; }
        }

        public class 注册资本
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 无
            /// </summary>
            public string words { get; set; }
        }

        public class 社会信用代码
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string words { get; set; }
        }

        public class 单位名称
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 单县华中超市
            /// </summary>
            public string words { get; set; }
        }

        public class 法人
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 曹淑英
            /// </summary>
            public string words { get; set; }
        }

        public class 证件编号
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 无
            /// </summary>
            public string words { get; set; }
        }

        public class 组成形式
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 个人经营
            /// </summary>
            public string words { get; set; }
        }

        public class 成立日期
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 2018年11月30日
            /// </summary>
            public string words { get; set; }
        }

        public class 地址
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 山东省菏泽市单县园艺区明泰回迁区13号门市房
            /// </summary>
            public string words { get; set; }
        }

        public class 经营范围
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 粮油零售(依法须经批准的项目经相关部登记机关2018l1提根指(金业信息公示智行条倒》第八条和第十年月日30示系统公示年度报告企业须自行公示即时信息企业信用信息公示系统网址中华人民共和国国家工商行政管理总局监制
            /// </summary>
            public string words { get; set; }
        }

        public class 类型
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 个体工商户
            /// </summary>
            public string words { get; set; }
        }

        public class 有效期
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 无
            /// </summary>
            public string words { get; set; }
        }

        public class Words_result
        {
            /// <summary>
            ///
            /// </summary>
            public 注册资本 注册资本 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 社会信用代码 社会信用代码 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 单位名称 单位名称 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 法人 法人 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 证件编号 证件编号 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 组成形式 组成形式 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 成立日期 成立日期 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 地址 地址 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 经营范围 经营范围 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 类型 类型 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 有效期 有效期 { get; set; }
        }

        public class Root
        {
            /// <summary>
            ///
            /// </summary>
            public long log_id { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int words_result_num { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Words_result words_result { get; set; }
        }
    }
}